package com.phz.springcloud.study.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(url = "${mobile_tel_segment.url}", name = "MobileSegmentClient")
public interface MobileSegmentClient {

	@RequestMapping(method = RequestMethod.GET, value = "/cc/json/mobile_tel_segment.htm")
	String get(@RequestParam("tel") String tel);
}
